package org.visionlibrary.image.event.events;

import java.util.EventObject;

/**
 * Prototype Tick event that will be send everytime when algorithm wants
 * to mark its progress.  
 * 
 * @author Andr3y
 *
 */
@SuppressWarnings("serial")
public class TickEvent extends EventObject {
	protected int __start = 0; //counter start
	protected int __stop = 10; //counter stop
	protected int __tick = 0; //counter value
	
	public TickEvent(Object source) {
		super(source);
	}
	
	public TickEvent(Object source, int start, int stop, int tick) {
		this(source);
		
		__start = start;
		__stop = stop;
		__tick = tick;
	}

	public int getStart() {
		return __start;
	}

	public int getStop() {
		return __stop;
	}

	public int getTick() {
		return __tick;
	}
}
